
<?php
// originally taken from 
// from http://www.phpandstuff.com/articles/codeigniter-doctrine-scratch-day-3-user-signup-form
// http://www.dixieandtheninjas.net/dynasties3/zsignup_con
// this is 'signup_form.php' in the tutorial
echo "This is the view for Simple Input Display.<br />";

?>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Input test</title>
</head>
<body>

<div id="signup_form">

	<p class="heading">type any text in the boxes below</p>
        
        <?php echo form_open('testing/simple_input_display/submit'); ?>
        <!-- <form action="http://www.dixieandtheninjas.net/dynasties3/zsignup_con/submit" method="post">
            -->
            
         <?php echo validation_errors('<p class="error">','</p>'); ?>
            

        <p>
            <label for="firstname">First Name: </label>
            <?php echo form_input('firstname',set_value('firstname')); ?>
            
            <!--<input type="text" name="username" value="" />  -->
        </p>
        
        <p>
            <label for="lastname">Last Name: </label>
            <?php echo form_input('lastname',set_value('lastname')); ?>
            
            <!--<input type="text" name="username" value="" />  -->
        </p>
        
        
        <p>
            <?php echo form_submit('submit','Do Something!'); ?>
            <!-- <input type="submit" name="submit" value="Create my account" /> -->
        </p>
        <!--</form>-->
        
        <?php echo form_close(); ?>
</div>
    


</body>
</html>


